package com.mc.code.entity.sys;

import java.util.Date;

/**
 * 关于留言的对象
 */
public class SysMessageManage {
    //留言的id
    private int id;
    //留言者的头像
    private String image;
    //留言者的编号
    private String userNo;
    //留言编号
    private String messageNo;
    //留言者的昵称
    private String nickName;
    //留言者的姓名（账号）
    private String username;
    //留言者的身份（开发方、需求方）
    private String type;
    //留言的时间
    private Date createTime;
    //留言的内容
    private String messageContent;
    //留言的状态（已读、未读）
    private String messageState;
    //留言回复的时间
    private Date replyTime;
    //回复的内容
    private String replyContent;

    public SysMessageManage() {
    }

    public SysMessageManage(int id, String image, String userNo, String messageNo, String nickName, String username, String type, Date createTime, String messageContent, String messageState, Date replyTime, String replyContent) {
        this.id = id;
        this.image = image;
        this.userNo = userNo;
        this.messageNo = messageNo;
        this.nickName = nickName;
        this.username = username;
        this.type = type;
        this.createTime = createTime;
        this.messageContent = messageContent;
        this.messageState = messageState;
        this.replyTime = replyTime;
        this.replyContent = replyContent;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getMessageNo() {
        return messageNo;
    }

    public void setMessageNo(String messageNo) {
        this.messageNo = messageNo;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public String getMessageState() {
        return messageState;
    }

    public void setMessageState(String messageState) {
        this.messageState = messageState;
    }

    public Date getReplyTime() {
        return replyTime;
    }

    public void setReplyTime(Date replyTime) {
        this.replyTime = replyTime;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    @Override
    public String toString() {
        return "SysMessageManage{" +
                "id=" + id +
                ", image='" + image + '\'' +
                ", userNo='" + userNo + '\'' +
                ", messageNo='" + messageNo + '\'' +
                ", nickName='" + nickName + '\'' +
                ", username='" + username + '\'' +
                ", type='" + type + '\'' +
                ", createTime=" + createTime +
                ", messageContent='" + messageContent + '\'' +
                ", messageState='" + messageState + '\'' +
                ", replyTime=" + replyTime +
                ", replyContent='" + replyContent + '\'' +
                '}';
    }
}
